package duo_car;

public class CE_car_chouxiang {


    public static void main(String[] args) {
              Driver_chongzai dri=new Driver_chongzai();
     Bmw bmw=new Bmw();
              dri.run(bmw);
     QQcar qq= new QQcar();
     dri.run(qq);
     Benz benz=new Benz();
     dri.run(benz);

//多肽
     Car audi=new Audi();
     dri.run(audi);


     //抽象类不能被实例化，可以利用多台实现

    }
}
